Technical Q&As


QD3D 80 - QD3D Windows Interactive Renderer (11-July-97)


Q In the following code fragment, the Q3Renderer_NewFromType function works if the wireframe renderer is specified, but fails if the interactive render is specified. A subsequent call to Q3Error_Get returns 0. Why is this? I'm using Visual C++ 4.2 under Windows NT4.0.
#if 0
	myRenderer = 
Q3Renderer_NewFromType(kQ3RendererTypeWireFrame);
#else
	myRenderer = 
Q3Renderer_NewFromType(kQ3RendererTypeInteractive);
#endif       ^^ this call is failing


A Make sure you have the file QD3D_IR2.q3x in the same folder as the QD3D DLL. QD3D_IR2.q3x is the interactive renderer.



-- Scott Kuechle
Worldwide Developer Technical Support

Technical Q&As
Previous Question | Contents | Next Question

To contact us, please use the Contact Us page.